import request from '@/utils/request'

// 查询面试后选人列表
export function listHrInterview(query) {
  return request({
    url: '/interview/hrInterview/list',
    method: 'get',
    params: query
  })
}

// 查询面试后选人详细
export function getHrInterview(id) {
  return request({
    url: '/interview/hrInterview/' + id,
    method: 'get'
  })
}

// 保存面试后选人
export function saveHrInterview(data) {
  return request({
    url: '/interview/hrInterview/save',
    method: 'post',
    data: data
  })
}

// 删除面试后选人
export function delHrInterview(id) {
  return request({
    url: '/interview/hrInterview/' + id,
    method: 'delete'
  })
}

// 导出面试后选人
export function exportHrInterview(query) {
  return request({
    url: '/interview/hrInterview/export',
    method: 'get',
    params: query
  })
}
// 统计面试人数
export function findInterviewNumber(query) {
  return request({
    url: '/interview/hrInterview/findInterviewNumber',
    method: 'get',
    params: query
  })
}
// 根据条件筛选面试情况统计
export function findInterviewNumberByCondition(query) {
  return request({
    url: '/interview/hrInterview/findInterviewNumberByCondition',
    method: 'get',
    params: query
  })
}

